package cn.itsource.sys.mapper;

import cn.itsource.sys.domain.Role;
import cn.itsource.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Chl
 * @since 2023-04-03
 */
public interface RoleMapper extends BaseMapper<Role> {

    void delPermissions(Long id);

    void delMenus(Long id);

    void addPermissions(Role role);

    void addMenus(Role role);

    void delEmpRoleByRoleId(Long id);
}
